<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<%@ include file="../common.jsp"%>
	<title>管理员列表</title>
</head>
<body style="width: 960px; height: 540px;">
<div class="easyui-layout" style="width: 98%; height: 98%;margin:auto;">
	<div id="div_search" data-options="region:'north',title:'检索条件'" style="height: 150px">
		<form id="form_search">
			<ul>
				<li><label for="name">名称:</label><input id="name_search" name="name" type="text"/></li>
			</ul>		
		</form>
	</div>
	
	<!-- 数据展示开始 -->	
	<div id="div_datagrid" data-options="region:'center',title:'数据表格'">
		<!--操作按钮开始-->
		<div id="toolbar"> 
			<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add'" onclick="showAddDialog();">新增</a> 
			&nbsp;&nbsp;&nbsp;&nbsp;
			<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit'" onclick="showModifyDialog();">修改</a> 
			&nbsp;&nbsp;&nbsp;&nbsp;
			<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok'" onclick="enable()">启用</a>
			&nbsp;&nbsp;&nbsp;&nbsp;
			<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" onclick="disable()">停用</a>			
		</div>
		<!--操作按钮结束--> 
		<table id="tbl_datagrid"></table>
	</div>
	<!-- 数据展示结束 -->
</div>

	<!-- 添加 弹出框开始 -->
	<div id="dialog_add">
		<form id="form_add">
			<div class="form_item">
				<label>姓名:</label>
				<input id="name_add" name="name" class="easyui-validatebox" data-options="required:true,validType:'length[0,20]'">
			</div>
		</form>
	</div>		
	<!-- 添加 弹出框结束 -->	
	<!-- 修改 弹出框开始 -->
	<div id="dialog_modify">
		<form id="form_modify">
			<input type="hidden" id="id_modify" name="id">
			<div class="form_item">
				<label>姓名:</label>
				<input id="name_modify" name="name" class="easyui-validatebox" data-options="required:true,validType:'length[0,20]'">
			</div>
		</form>
	</div>		
	<!-- 修改 弹出框结束 -->	
	<script type="text/javascript" src="<%=basePath%>/static/js/system/admin.js"></script>
</body>
</html>